﻿<%@ Page Title="Ficha de Avaliação" Language="C#" MasterPageFile="~/gymmaster.Master"
    AutoEventWireup="true" CodeBehind="FichaAvaliacao.aspx.cs" Inherits="GymMaster.View.Aluno.FichaAvaliacao" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="4" cellspacing="0" style="border-collapse: collapse; width: 98%;"
        class="table" align="center">
        <tr style="border-bottom: 1px; border-bottom-style: inset;">
            <td colspan="2" style="height: 30px; line-height: 30px;">
                <table style="width: 98%;" align="center">
                    <tr>
                        <td style="height: 24px">
                            <asp:Label ID="lblSexo" runat="server" Text="Sexo: "></asp:Label>
                            <asp:DropDownList ID="ddlSexoBusca" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td colspan="2" style="height: 24px;">
                            <asp:Label ID="lblAluno" runat="server" Text="Aluno: "></asp:Label>
                            <asp:DropDownList ID="ddlAlunoBusca" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td style="height: 24px">
                            <asp:Label ID="lblMatricula" runat="server" Text="Matricula: "></asp:Label><asp:DropDownList
                                ID="ddlMatriculaBusca" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 120px">
                            <asp:Button ID="btnBuscar" runat="server" Text="Buscar" CssClass="button" OnClick="btnBuscar_Click" />
                        </td>
                        <td colspan="2" align="left" style="color: Red; font-size: 15px;">
                            <asp:Literal ID="FailureText" runat="server" EnableViewState="False" Visible="False"></asp:Literal>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="width: 180px;">
                <asp:Panel ID="pnlTreinoMenu" runat="server" Visible="false">
                    <ul style="text-decoration: square; text-align: left;">
                        <li><a href="FichaAvaliacao.aspx?menu=Atual">Avaliacao Atual</a> </li>
                        <li><a href="FichaAvaliacao.aspx?menu=Historico">Hitórico</a> </li>
                        <li><a href="FichaAvaliacao.aspx?menu=Novo">Nova Avaliação</a> </li>
                    </ul>
                </asp:Panel>
            </td>
            <td align="left" style="padding-left: 20px;">
                <asp:Panel ID="pnlConteudoInicio" runat="server" Visible="true">
                    <p style="font-size: 25px;">
                        Para iniciar, selecione um Aluno.
                    </p>
                </asp:Panel>
                <!-- Inicio -->
                <asp:Panel ID="pnlConteudoAluno" runat="server" Visible="false">
                    <table style="height: 210px">
                        <tr>
                            <td>
                                <asp:Label ID="lblNome" runat="server" Text="Nome:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtNome" runat="server" Enabled="false" Width="250px" MaxLength="299"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblIdade" runat="server" Text="Idade:" Class="idade"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtIdade" runat="server" Enabled="false" Width="250px" Class="medida"
                                    MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblDataInicio" runat="server" Text="Data Inicio:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtDataInicio" runat="server" Enabled="false" Width="250px" Class="data"
                                    MaxLength="10"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblImc" runat="server" Text="IMC:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtImc" runat="server" Enabled="false" Width="250px" MaxLength="4"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <!-- Aluno -->
                <asp:Panel ID="pnlConteudoNovaAvaliacao" runat="server" Visible="false">
                    <table style="height: 210px">
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblSexoNovo" runat="server" Text="Sexo:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlSexo" runat="server" Width="250px">
                                    <asp:ListItem Selected="True" Value="F">Feminino</asp:ListItem>
                                    <asp:ListItem Value="M">Masculino</asp:ListItem>
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlSexo"
                                    ValidationGroup="valAvaliacao">* Campo obrigatório.</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <!-- Sexo -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblPeso" runat="server" Text="Peso:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtPeso" runat="server" Width="250px" MaxLength="6"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPeso"
                                    ValidationGroup="valAvaliacao">* Campo obrigatório.</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <!-- Peso -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblEstatura" runat="server" Text="Estatura (cm):"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtEstatura" runat="server" Width="250px" MaxLength="3" Class="medida"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtEstatura"
                                    ValidationGroup="valAvaliacao">* Campo obrigatório.</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <!-- Estatura -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblTorax" runat="server" Text="Torax:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtTorax" runat="server" Width="250px" MaxLength="3" Class="medida"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- Torax -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblAbdome" runat="server" Text="Abdome:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtAbdome" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- Abdome -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblQuadril" runat="server" Text="Quadril:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtQuadril" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- Quadril -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblAntBracoEsq" runat="server" Text="Anti Braço Esquerdo:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtAntBracoEsq" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- AntBracoEsq -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblAntBracoDir" runat="server" Text="Anti Braço Direito:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtAntBracoDir" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- AntBracoDir -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblBracoEsq" runat="server" Text="Braço Esquerdo:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtBracoEsq" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- BracoEsq -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblBracoDir" runat="server" Text="Braço Direito:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtBracoDir" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- BracoDir -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblCoxaEsq" runat="server" Text="Coxa Esquerda:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCoxaEsq" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- CoxaEsq -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblCoxaDir" runat="server" Text="Coxa Direita:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCoxaDir" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- CoxaDir -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblPanturrilhaEsq" runat="server" Text="Panturrilha Esquerda:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtPanturrilhaEsq" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- PanturrilhaEsq -->
                        <tr>
                            <td style="width: 45%" align="right">
                                <asp:Label ID="lblPanturrilhaDir" runat="server" Text="Panturrilha Direita:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtPanturrilhaDir" runat="server" Width="250px" Class="medida" MaxLength="3"></asp:TextBox>
                            </td>
                        </tr>
                        <!-- PanturrilhaDir -->
                        <tr>
                            <td align="center" colspan="2">
                                <asp:Button ID="btnCancelar" runat="server" CssClass="button" Text="Cancelar" />
                                &nbsp&nbsp&nbsp&nbsp&nbsp
                                <asp:Button ID="btnCadastrar" runat="server" CommandName="Submit" CssClass="button"
                                    Text="Cadastrar" ValidationGroup="valAvaliacao" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <!-- Nova Ficha Avaliação -->
                <asp:Panel ID="pnlConteudoHistorico" runat="server" Visible="false">
                    <table style="height: 210px">
                        <tr>
                            <td align="center" colspan="2" class="titletable">
                                Historico
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <!-- Historico -->
            </td>
        </tr>
    </table>
</asp:Content>
